<include file="Public:header" />
<script type="text/javascript" src="../Public/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../Public/js/error.js"></script>
<script type="text/javascript" src="../Public/js/edit.js"></script>

<div id="main" class="main" >
<div class="content">
<div align="center">
<div class="title" align="center" style="width:50%"><div align="center">執筆編集——{$vo.title} [ <a href="__URL__">戻る</a> ]</div></div>
</div>

<div class="fRig"><neq name="vo.image" value=''><img src="__PUBLIC__/Uploads/{$vo.image}"  width="160" height="120" style="border:1px solid silver;padding:1px" /></neq></div>
<div id="result" class="result none"></div>

<div class="main">
<div class="row" align="center"> 
	

<form method='post' id="form1" name="form1" action="__URL__/update" enctype="multipart/form-data">

<div class="row" align="center">
	<div class="column grid_1">作品コード：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="aid" value="{$vo.aid}"/></div> 
	
	<div class="column grid_1">執筆者：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="uid" value="{$vo.uid}"/></div> 
	
	<div class="column grid_1">学期编号：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="semester" value="{$vo.semester}"/></div> 
</div>
<br/><br/>
<div class="row" align="center">
	<div class="column grid_1">題目：</div> 
	<div class="column grid_5"><input type="text" style="width:98%" class="huge bLeftRequire" name="title" value="{$vo.title}"/></div> 
	<div class="column grid_1">文体：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="type" value="{$vo.type}"/></div> 
	
</div>

<br/><br/>
<div class="row" align="center">
<div class="column grid_1">附码前：</div> <div class="column grid_2"><input id="before" style="width:95%" type="text" value=""/></div> 
<div class="column grid_1">附码后：</div> <div class="column grid_2"><input id="after" style="width:95%" type="text" value=""/></div> 
<div class="column grid_1">类型：</div> <div class="column grid_1"><input id="error" style="width:88%" type="text" value=""/></div> 
<div class="column grid_1"><input id="encode" type="button" style="width:98%" value="附码"/></div> 
</div>

<br/><br/>

<div class="row" align="center">


<div class="column grid_1">附码类别：</div>		
<div class="column grid_2">
	<select id="baseError" style="width:130px">
		<option value="所有类型">不限</option>
		<option value="书写错误">书写错误</option>
		<option value="词语错误">词语错误</option>
		<option value="词组错误">词组错误</option>
		<option value="句子错误">句子错误</option>
		<option value="文章格式">文章格式</option>
	</select> 
</div>
<div class="column grid_2">
	<select id="nextError" class="sError" style="width:130px">
		<option value="">不限</option>
	</select>
</div>

	<div class="column grid_1">  </div>			
<div class="column grid_2">
	<select id="tempError" class="sError" style="width:130px">
		<option value="">不限</option>
	</select>
</div>

<div class="column grid_1">  </div>			
<div class="column grid_2">
	<select id="realError" class="sError" style="width:130px">
		<option value="">不限</option>
	</select>
</div>
</div>
	
<br/><br/>

<div class="row" align="center">
	<div class="column grid_1">文章内容：</div> 
	<div class="column grid_8"><textarea name="text" id="article" style="width:99%;height:450px;">{$vo.text}</textarea></div> 
</div>
<br/><br/>

<div class="row" align="center">
	<div class="column grid_1">執筆日：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="time" value="{$vo.time}"/></div> 
	
	<div class="column grid_1">使用辞書：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="usebook" value="{$vo.usebook}"/></div> 
	
	<div class="column grid_1">時間制限：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="timelimit" value="{$vo.timelimit}"/></div> 
</div>
<br/><br/>
<div class="row" align="center">
	<div class="column grid_1">学習時間数</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="semestertime" value="{$vo.semestertime}"/></div> 
	<div class="column grid_1">字数：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="wordnum" value="{$vo.wordnum}"/></div> 
	<div class="column grid_1">添削者：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="modifiedby" value="{$vo.modifiedby}"/></div> 
</div>
<br/><br/>
<div class="row" align="center">	
	
	<div class="column grid_1">タグ付者：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="markedby" value="{$vo.markedby}"/></div> 
	
	<div class="column grid_1">タグ付項目：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="mark" value="{$vo.mark}"/></div> 

	<div class="column grid_1">タグ付完成日：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="finishedday" value="{$vo.finishedday}"/></div> 
</div>
<br/><br/>
<div class="row" align="center">	
	
	<div class="column grid_1">入力者：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="inputed" value="{$vo.inputed}"/></div> 
	
	<div class="column grid_1">入力完成日：</div> 
	<div class="column grid_2"><input type="text" style="width:95%" class="huge bLeftRequire" name="inputedday" value="{$vo.inputedday}"/></div> 

	<div class="column grid_1">文章ID：</div> 
	<div class="column grid_2">{$vo.id}</div> 

	<input type="hidden" class="huge bLeftRequire" name="id" value="{$vo.id}">
</div>


<br/><br/>
<div class="row" align="center">	
	<input type="hidden" name="status" value="1">
	<div class="column grid_6"><input type="submit" value="更 新" class="button medium" style="width:90%; height:30px"/></div> 
	<div class="column grid_1">管理员ID：</div> 
	<div class="column grid_2"><?php echo $_SESSION[C('USER_AUTH_KEY')] ?></div> 
</div>
</form>
</div>
</div>


</div>